SELECT Id FROM new_searchtable where town = 'Newbury' and state='NH' and (type = 'R' or type ='O') AND list_price BETWEEN '500000' AND '1000000' ORDER BY list_price Desc Newbury NH Homes page 5